﻿namespace Digitalmes.Domain.Entities.Mes.Productions;

/// <summary>
/// 生产工单排程。
/// </summary>
/// <remarks></remarks>
[SugarTable("prod_workorder_schedule")]
public sealed class ProdWorkOrderSchedule : AuditedEntity
{
    /// <summary>
    /// 工单 Id
    /// </summary>
    public long WoId { get; set; }

    /// <summary>
    /// 工单编号
    /// </summary>
    [NotNull]
    public string? Wo { get; set; }

    /// <summary>
    /// 产线Id
    /// </summary>
    public long LineId { get; set; }

    /// <summary>
    /// 产线编号
    /// </summary>
    [NotNull]
    public string? LineCode { get; set; }

    /// <summary>
    /// 排序
    /// </summary>
    public int Seq { get; set; }
}
